use std::os::unix::prelude::CommandExt;
use std::process::Command;

fn main() {
    let output = Command::new("whoami")
        .uid(1000) // UID
        .gid(1000) // GID
        .output()
        .expect("Failed to execute command");
    println!("Output: {:?}", String::from_utf8_lossy(&output.stdout));
}
